<?php 
class Zen_Controller_Action_Helper_ModuleLayout extends Zend_Controller_Action_Helper_Abstract
{
	
	public function direct(){
		$action_name = $this->getRequest()->getActionName();
		$controller_name = $this->getRequest()->getControllerName();
		$action = $this->getActionController();
		$action->view->script = "_$action_name.phtml";
		$action->getHelper('viewRenderer')->setNoRender(true);
		$action->renderScript("$controller_name/layout.phtml");
	}

}